package com.ruicar.afs.cloud.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.product.condition.ProductDiscountPlanCondition;
import com.ruicar.afs.cloud.product.entity.ProductDiscountPlan;
import com.ruicar.afs.cloud.product.vo.ExtrasInfoVo;
import com.ruicar.afs.cloud.product.vo.ProductDiscountPlanVo;

import java.util.List;

/**
 * @author yaorui.zhang
 * @date 2020年5月13日11:19:20
 */
public interface ProductDiscountPlanService extends IService<ProductDiscountPlan> {
    ProductDiscountPlan getProductDiscountPlanById(String id);

    List<ExtrasInfoVo> getSelectDiscountShare();

    IPage<List<ProductDiscountPlanVo>> getListProductDiscountPlan(Page page, ProductDiscountPlanCondition condition);
}
